﻿using FreeSql.DataAnnotations;
using MicroApplication.Common.BaseModel;

namespace MicroApplication.Model.Business
{
    /// <summary>
    /// 司机信息表
    /// </summary>
    [Table(Name = "lt_driver")]
    public class DriverEntity:Entity
    {
        ///<summary>
        ///真实姓名
        ///</summary>
        [Column(StringLength = 20)]
        public string RealName { get; set; }

        ///<summary>
        ///名称的拼音
        ///</summary>
        [Column(StringLength = 50)]
        public string PinYin { get; set; }

        ///<summary>
        ///联系电话
        ///</summary>
        [Column(StringLength = 15)]
        public string Phone { get; set; }

        ///<summary>
        ///身份证号
        ///</summary>
        [Column(StringLength = 18)]
        public string IdCard { get; set; }

        ///<summary>
        ///联系地址
        ///</summary>
        [Column(StringLength = 100)]
        public string Address { get; set; }

        ///<summary>
        ///简要说明
        ///</summary>
        [Column(StringLength = 200)]
        public string Memo { get; set; }
    }
}
